package com.guldan.mapper.db.mapper;

import java.util.List;

import com.guldan.mapper.db.entity.RegisterSuccess;
import org.apache.ibatis.annotations.Param;

import com.guldan.mapper.db.entity.CitizenInfo;
import com.guldan.mapper.db.entity.CitizenInfoExample;

public interface CitizenInfoMapperExt extends CitizenInfoMapper {

    /**
     * 分页查询居民信息
     *
     * @param example
     * @param offset
     * @param limit
     * @return
     */
    List<CitizenInfo> selectByExampleWithPaging(
            @Param("example") CitizenInfoExample example, @Param("offset") int offset,
            @Param("limit") int limit);

    List<CitizenInfo> downCitizen(@Param("example") CitizenInfoExample example);

}